package com.txx.myspringboot.listener.weathlistener.listener;

import com.txx.myspringboot.listener.weathlistener.event.RainEvent;
import com.txx.myspringboot.listener.weathlistener.event.SnowEvent;
import com.txx.myspringboot.listener.weathlistener.event.WeathEvent;


public class SnowListener implements WeatherListener<SnowEvent> {
    @Override
    public void onWeathEvent(SnowEvent weathEvent) {
        System.out.println(weathEvent.geNowWeath());
    }
}
